package controller

import (
	"github.com/gin-gonic/gin"
	"go.web.demo.com/web/model"
	"go.web.demo.com/web/rpc_client"
)

// PatientRoute 路由配置
func PatientRoute(g *gin.RouterGroup) {
	g.GET("/list", QueryList)

}

func QueryList(c *gin.Context) {
	SuccessJson(c, model.Success(rpc_client.QueryPatientList()))
}
